<?php 
namespace Manage;


class DeviceRepair extends Base {

    protected $table = 'agents_device_repair';

    public function doSave($data){
        $model=new DeviceRepair();
        $model->device_ids=$data['device_ids'];
        $model->agent_id=$data['agent_id'];
        $model->logistics=$data['logistics'];
        $model->logistics_order=$data['logistics_order'];
        $model->pay=$data['pay'];
        $model->content=$data['content'];
        return $model->save();
    }

}
